package xjvm_v1.classfile.cons;


import xjvm_v1.util.TypeTransUtil;
import xjvm_v1.util.U2;

public class ConstantClass extends ConstantBase {
    public U2 nameIndex;


    public String handle(ConstantBase[] cpInfo){

        Integer cI = TypeTransUtil.byteArr2Int(nameIndex.u2);
        String className = cpInfo[cI].handle(cpInfo);
        return className;
    }

}
